package com.chaosj.skill.guava.basic

import com.google.common.base.MoreObjects

/**
 * @Description:
 * @author: caoyangjie
 * @date: 2019年11月2019/11/26日 13:10
 * @Copyright: © 赢时胜
 */
class GuavaMoreObjects {
    static void main(args){
        println(MoreObjects.firstNonNull(null,1))
        println(MoreObjects.firstNonNull("1",2))
        println(MoreObjects.toStringHelper(GuavaMoreObjects.class.getName()).add("hello","world").add("hello1","world1").toString())
    }
}
